﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Systems
{
    /// <summary>
    /// 后台管理员
    /// </summary>
    [SugarTable("uc_admin")]
    public class Admin
    {
        /// <summary>
        /// 自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int id { get; set; }
        /// <summary>
        /// 登录账号
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string pwd { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime last_time { get; set; }
    }
}
